package com.chang.ex;

import java.util.Map;

/**
 * @program: shop-cloud
 * @description:
 * @author: chang
 * @create: 2025-04-10 15h
 **/

/**
 * 后端验证异常
 */
public class ValidateException extends RuntimeException{

    Map<String,String>errorMap;

    public ValidateException(Map error){
        super("验证异常");
        this.errorMap=error;
    }
    public Map<String,String>getErrorMap(){
        return errorMap;
    }


}
